﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ExportPage.aspx.cs" Inherits="ExportPage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="false">
            <Columns>
                <asp:TemplateField>
                    <HeaderTemplate>
                        <asp:Label runat="server" Text="Column Test"></asp:Label>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <b><font color="#0000FF">Name</font>:</b><%#Eval("Test Item")%><br />
                        <b>Value: </b><i><font size="2"><%#Eval("Test Item")%></font></i>
                        </ItemTemplate>
                </asp:TemplateField>
            </Columns>
        </asp:GridView>
        <asp:Button ID="btnToWord" runat="server" onclick="btnToWord_Click" Text="ToWord" />
        <asp:Button ID="bntToExcel" runat="server" onclick="btnToExcel_Click" Text="ToExcel" />
        <asp:Button ID="btnToPDF" runat="server" onclick="btnToPDF_Click" Text="ToPDF" />
        <asp:Button ID="bntToCSV" runat="server" onclick="btnToCSV_Click" Text="ToCSV" />
    </form>
</body>
</html>
